]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
search: Make sure to clear the timeout
authorJasper St. Pierre <jstpierre@mecheye.net>
Thu, 11 Sep 2014 23:40:00 +0000 (17:40 -0600)
committerJasper St. Pierre <jstpierre@mecheye.net>
Thu, 11 Sep 2014 23:40:00 +0000 (17:40 -0600)
js/ui/search.js

index b8ee1b7b22b3ef2025bb28b7a3ecd0f600c9d4e7..7998a9bc45dccd9382b039889435cb2521cc9f1e 100644 (file)
@@ -481,8 +481,10 @@ const SearchResults = new Lang.Class({
         this._cancellable.reset();
 
         if (!terms) {
-            if (this._searchTimeoutId > 0)
+            if (this._searchTimeoutId > 0) {
+                this._searchTimeoutId = 0;
                 GLib.source_remove(this._searchTimeoutId);
+            }
             return;
         }